package com.smartrm.trade.domain.remote;

import java.math.BigDecimal;

/*
 * @program: common-starters
 * @description: 商品信息-- 防腐层
 * @author: houhong
 * @create: 2023-01-10 16:42
 */
public class CommodityInfo {
    private final String commodityId;
    private final String commodityName;
    private final String imageUrl;
    private final BigDecimal price;


    public CommodityInfo(String commodityId, String commodityName, String imageUrl,
                         BigDecimal price) {
        this.commodityId = commodityId;
        this.commodityName = commodityName;
        this.imageUrl = imageUrl;
        this.price = price;
    }

    public String getCommodityId() {
        return commodityId;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public BigDecimal getPrice() {
        return price;
    }
}